package com.uni.service;

import com.uni.pojo.Perm;
import com.uni.pojo.Role;
import com.uni.pojo.User;

import java.util.List;

/**
 * Author:      Unirithe/Mr.Chao
 * CSDN:        https://blog.csdn.net/Unirithe
 * CreatedTime:  2022/2/11 15:09
 **/
public interface PermService {
    List<Perm> queryPermByRole(Role role);
    List<Perm> queryAllPerm();

    Perm queryPermById(Integer id);

    int modifyById(Perm perm);

    int addPerm(Perm perm);

    int deletePerm(Integer id);
}
